﻿@import 'mixins';
* {
    margin: 0;
    padding: 0;
    @include noselect;
    font-family: '微软雅黑';
}

body {
    overflow: hidden;
}

.main_warp {
    overflow: hidden;
    /* position: absolute; */
    width: 100%;
    height: 100%;
    background: #000;
    &>.logo {
        position: fixed;
        left: 0;
        top: 0;
        width: 100px;
        height: 50px;
        display: inline-block;
        background-image: url(../img/logo.png);
        background-size: 100% auto;
        background-repeat: no-repeat;
        margin: 16px;
        z-index: 99;
        @include compatible_style(transition, all 0.3s);
        &:hover {
            @include compatible_style(transform, scale(1.2));
        }
    }
    &>ul {
        position: relative;
        width: 100%;
        height: 100%;
        top: 0%;
        list-style: none;
        @include compatible_style(transition, top 1s cubic-bezier(0.58, 0.01, 0.24, 1.02));
        &>li {
            display: block;
            width: 100%;
            height: 100%;
            overflow: hidden;
            &>div[type="video"] {
                position: relative;
                width: 100%;
                height: 100%;
                &>video{
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%,-50%);
                    z-index: 0;
                }
            }
            &>div[type="content"] {
                position: relative;
                top: -100%;
                width: 100%;
                background:radial-gradient(ellipse,rgba(255, 255, 255, 0),rgb(0, 0, 0));
                height: 100%;
                z-index: 11;
                .text_page1_weltext{
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%,-50%);
                    text-align: center;
                    &>p{
                        font-family: '微软雅黑';
                        font-weight: lighter;
                        color: #fff;
                        &:nth-child(1){
                            letter-spacing: 10px;
                            font-size: 48px;
                        }
                        &:nth-child(2){
                            font-size: 18px;
                            // letter-spacing: 40px;
                            width: 500px;
                            text-align:justify;
                            text-justify:inter-ideograph;
                            text-align-last:justify;
                            -moz-text-align-last: justify;
                            -ms-text-align-last: justify;
                            font-style: italic;
                        }
                    }
                }
                .container {
                    max-width: 1170px;
                    width: 75%;
                    position: absolute;
                    top: 50%;
                    left:50%;
                    transform: translate(-50%,-50%);
                    &>span {
                        float: left;
                        width: 20%;
                        // height: 20%;                        
                        display: inline-flex;
                        box-sizing: border-box;
                        border: 4px solid rgba(255, 255, 255, 0);
                        @include compatible_style(transition,all 0.15s);
                        position:relative;
                        img {
                            width: 100%;
                            height: 100%;
                        }
                    
                        &:hover {
                            -webkit-transform: scale(1.05);
                            -moz-transform: scale(1.05);
                            -o-transform: scale(1.05);
                            -ms-transform: scale(1.05);
                            transform: scale(1.05);
                            z-index: 5;
                        }
                    
                        &.big {
                            width: 40%;
                        }
                        &::before{
                            content:" ";
                            width:100%;
                            height:100%;
                            position: absolute;
                            top:0;
                            left:0;
                            @include compatible_style(transition,all 0.15s);
                        }
                        &:hover::before{
                            background: rgba(39, 39, 39, 0.61);
                        }
                        &::after{
                            content:"";
                            width:100%;
                            height:50%;
                            position: absolute;
                            
                        }
                        &:hover::after{
                            content:"TRENDESTTER";
                            position: absolute;
                            top:50%;
                            text-align: center;
                            color: #fff;
                            // transform: translate(50%,0);
                        }
                    }
                    &>.clear {
                        clear: both;
                        float: none;
                        width: 100%;
                    }
                }
            }
            &>div[mask="true"]:before {
                content: '';
                position: absolute;
                width: 100%;
                height: 100%;
                background-image: url(../img/video_mask.png);
                background-repeat: repeat;
                @include compatible_style(filter, opacity(0.5));
                z-index: 1;
            }
        }
    }
}

.main_menu {
    position: fixed;
    padding: 0px;
    height: 100%;
    width: 200px;
    top: 0px;
    z-index: 11;
    // @include compatible_style(transition, all 0.5s cubic-bezier(0.54, 0.02, 0.46, 1));
    &[menuopen="true"] {
        right: 0px;
        @include compatible_style(transition, all 0.5s cubic-bezier(0.54, 0.02, 0.46, 1));
        background: rgba(255, 255, 255, 0.3);
        &>div {
            background: rgba(255, 255, 255, 0.3);
            &>span {
                font-size: 16px;
                color: rgb(0, 0, 0);
                cursor: pointer;
                @include compatible_style(transition, all 0.5s cubic-bezier(0.54, 0.02, 0.46, 1));
                @include Css_style_boxrotate(menubtn1,0.5s);
            }
        }
    }
    &[menuopen="false"] {
        right: -150px;
        @include compatible_style(transition, all 0.5s ease-out 0.2s);
        background: rgba(255, 255, 255, 0);
        &>div {
            background: rgba(255, 255, 255, 0);
            &>span {
                font-size: 30px;
                border-radius: 50%;
                color: rgb(255, 255, 255);                
                cursor: pointer;
                @include compatible_style(transition, all 0.7s cubic-bezier(0.54, 0.02, 0.46, 1));
                @include Css_style_boxrotate(menubtn2,1s);
            }
        }
        &>ul>li{
            position: relative;
            @keyframes myli
            {
                from {left:0px;}
                to {left:150px;}
            }

            @-webkit-keyframes myli /* Safari and Chrome */
            {
                from {left:0px;}
                to {left:150px;}
            }
            &:nth-child(1) {
                @include Css_style_Carousel(0.5s, 0s);
            }
            &:nth-child(2) {
                @include Css_style_Carousel(0.5s, 0.05s);
            }
            &:nth-child(3) {
                @include Css_style_Carousel(0.5s, 0.1s);
            }
            &:nth-child(4) {
                @include Css_style_Carousel(0.5s, 0.15s);
            }
            &:nth-child(5) {
                @include Css_style_Carousel(0.5s, 0.2s);
            }
            &:nth-child(6) {
                @include Css_style_Carousel(0.5s, 0.25s);
            }
        }
    }
    background: rgba(253, 253, 253, 0.37);
    &>div {
        @include compatible_style(transition, all 0.5s);
        background: rgba(255, 255, 255, 0.47);
        height: 50px;
        &>h4 {
            font-weight: 500;
            line-height: 50px;
            width: 100%;
            left: 0px;
            margin-left: -50px;
            text-align: center;
            display: block;
            float: right;
            color: rgb(255, 255, 255);
        }
        &>span {
            height: 50px;
            width: 50px;
            line-height: 50px;
            text-align: center;
            display: inline-block;
        }
    }
    &>ul {
        width: 100%;
        display: inline-block;
        list-style: none;
        vertical-align: top;
        position: relative;
        &>li {
            // padding: 16px 8px 16px 8px;
            text-align: center;
            cursor: pointer;
            overflow: hidden;
            @include compatible_style(transition, all 0.5s);
            &:hover {
                background: rgba(255, 255, 255, 0.192);      
                @include compatible_style(transition, all 1.2s);     
            }
            &>span{
                font-weight: lighter;
                line-height: 50px;
                font-size: 14px;
                width: 100%;
                height: 100%;
                display: block;
                color: rgb(173, 173, 173);
                @include compatible_style(transform, scale(1));
                @include compatible_style(transition, all 0.5s);
                &:hover{
                    // @include compatible_style(transform, scale(1.05));                 
                color: rgb(255, 255, 255);                    
                }
            }
        }
    }
}
.audio_btn{
    width: 96px;
    height: 16px;
    position: fixed;
    z-index: 11;
    bottom:20px;
    right:70px;
    &[menustate="true"]{
        right:220px;
        @include compatible_style(transition, all 0.5s cubic-bezier(0.54, 0.02, 0.46, 1));
    }
    &[menustate="false"]{
        right:70px;
        @include compatible_style(transition, all 0.5s ease-out 0.2s);
    }
    &>span{
        cursor: pointer;
        height:16px;
        float: left;
        display: block;
        background: rgb(128, 128, 128); 
        &[position="btn_text"]{
            width: 45px;
            vertical-align: top;
            font-size: 12px;
            // line-height: 16px;
            color: #fff;
            position: relative;
            left: 0px;
            top: 0px;
            background: none;
        }
        &[position="btn_left"]{
            width:16px;
            left: 50px;
            border-radius: 50%;
            position: absolute;
        }
        &[position="btn_center"]{
            left: 58px;
            width:30px;
            position: absolute;
        }
        &[position="btn_right"]{
            width:16px;
            left: 80px;
            border-radius: 50%;
            position: absolute;
        }
        &[position="btn_change"]{
            width: 12px;
            height: 12px;
            border-radius: 50%;
            position: absolute;
            background: rgb(0, 17, 48);
            margin: 2px 0px;
            left: 55px;
            top: 0;
            transition: all 0.1s;
        }
        &[position="btn_state"]{
            position: absolute;
            color: rgb(0, 17, 48);
            font-size: 12px;
            line-height: 16px;
            background: none;
            top: 0px;
            left: 69px;
        }
    }
    
}
